
malloc4.o:     file format elf32-littlearm


Disassembly of section .text:

00000000 <main>:
	int  type;
}alloc;


void main()
{
   0:	e92d4800 	push	{fp, lr}
   4:	e28db004 	add	fp, sp, #4
   8:	e24dd028 	sub	sp, sp, #40	; 0x28
	alloc ac;
	alloc * pa;

	printf("sizeof(ac=%ld)\n", sizeof(ac));	// 36
   c:	e3a01024 	mov	r1, #36	; 0x24
  10:	e59f005c 	ldr	r0, [pc, #92]	; 74 <main+0x74>
  14:	ebfffffe 	bl	0 <printf>
	printf("sizeof(pa=%ld)\n", sizeof(pa));	// 8
  18:	e3a01004 	mov	r1, #4
  1c:	e59f0054 	ldr	r0, [pc, #84]	; 78 <main+0x78>
  20:	ebfffffe 	bl	0 <printf>

	pa = (alloc *) malloc (sizeof(ac) * 10);	// 8
  24:	e3a00f5a 	mov	r0, #360	; 0x168
  28:	ebfffffe 	bl	0 <malloc>
  2c:	e1a03000 	mov	r3, r0
  30:	e50b3008 	str	r3, [fp, #-8]
	printf("sizeof(pa=%ld)\n", sizeof(pa));		// 8
  34:	e3a01004 	mov	r1, #4
  38:	e59f0038 	ldr	r0, [pc, #56]	; 78 <main+0x78>
  3c:	ebfffffe 	bl	0 <printf>
	free(pa);
  40:	e51b0008 	ldr	r0, [fp, #-8]
  44:	ebfffffe 	bl	0 <free>

	pa = (alloc *) malloc (sizeof(pa) * 10);	// 8
  48:	e3a00028 	mov	r0, #40	; 0x28
  4c:	ebfffffe 	bl	0 <malloc>
  50:	e1a03000 	mov	r3, r0
  54:	e50b3008 	str	r3, [fp, #-8]
	printf("sizeof(pa=%ld)\n", sizeof(pa));		// 8
  58:	e3a01004 	mov	r1, #4
  5c:	e59f0014 	ldr	r0, [pc, #20]	; 78 <main+0x78>
  60:	ebfffffe 	bl	0 <printf>
	free(pa);
  64:	e51b0008 	ldr	r0, [fp, #-8]
  68:	ebfffffe 	bl	0 <free>

}
  6c:	e24bd004 	sub	sp, fp, #4
  70:	e8bd8800 	pop	{fp, pc}
  74:	00000000 	.word	0x00000000
  78:	00000010 	.word	0x00000010
